package sel.me.sharding.learning.entity;

import lombok.Getter;
import lombok.Setter;
import sel.me.java.learning.common.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

//@Data
//@EqualsAndHashCode(callSuper = true)
//@Accessors(chain = true)
@Getter
@Setter
@Table(name="t_order")
public class Order extends BaseEntity {
	
//	@TableId(value="order_id", type=IdType.ID_WORKER)
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name="order_id")
	private Integer orderId;

	
//	@TableField("user_id")
    @Column(name="user_id")
    private Integer userId;


}
